package org.tloss.web.editor.model.oper.logical;

import org.tloss.web.editor.utils.Constants;

public class AndOperator extends TwoOperatorSupport {

	@Override
	public String getDisplayText() {
		return " AND ";
	}
	@Override
	public String generate(int type, Object[] data) {
		if(type == Constants.CodeType.JAVA){
			return " && ";
		}
		return getDisplayText();
	}

}
